package ZuoYe17;

import java.util.Scanner;

public class Di2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入作业名");
        String a = sc.next();
        if (a.contains(".zip") || a.contains("rar")) {
            System.out.println("作业名合适");
        } else {
            System.out.println("不合适");
        }
    }
}
